package com.bytz.modules.cms.domain.model.pay;

import com.bytz.modules.cms.order.entity.*;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

@Setter
@Getter
@EqualsAndHashCode
public class PrepareContextBase {
    /**
     * 订单
     */
    private Order order;

    /**
     * 汇票
     */
    private List<OrderOfflinePay> offlinePays;

    /**
     * 订单行
     */
    private List<OrderItem> orderItems;

    /**
     * 支付金额
     */
    private BigDecimal payAmount;

    /**
     * 支付主数据
     */
    private OrderPay orderPay;

    /**
     * 支付明细数据
     */
    private List<OrderPayDetail> orderPayDetails;
}
